<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
</head>
<body>
<h3>欢 迎 登 录</h3>
<div>
    <span style="color: red" th:text="${errorMsg}"></span>
</div>

<div>
    <form action="/loginUser" method="post"><br/>
        帐号：<input type="text" name="username"/><br/>
        密码：<input type="password" name="password"/><br/>
        <input type="submit" value="登录">
    </form>
</div>
</body>
</html>